package com.pw.lit.service.impl;

import com.pw.lit.bean.Uidlogin;
import com.pw.lit.bean.UidloginExample;
import com.pw.lit.mapper.UidloginMapper;
import com.pw.lit.service.UidloginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("uidloginService")
public class UidloginServiceImpl implements UidloginService {

    @Autowired
    private UidloginMapper uidloginMapper;

    @Override
    public int countByExample(UidloginExample example) {
        return uidloginMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(UidloginExample example) {
        return uidloginMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(String uid) {
        return uidloginMapper.deleteByPrimaryKey(uid);
    }

    @Override
    public int insert(Uidlogin record) {
        return uidloginMapper.insert(record);
    }

    @Override
    public int insertSelective(Uidlogin record) {
        return uidloginMapper.insertSelective(record);
    }

    @Override
    public List<Uidlogin> selectByExample(UidloginExample example) {
        return uidloginMapper.selectByExample(example);
    }

    @Override
    public Uidlogin selectByPrimaryKey(String uid) {

        return uidloginMapper.selectByPrimaryKey(uid);
    }

    @Override
    public int updateByExampleSelective(Uidlogin record, UidloginExample example) {
        return uidloginMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(Uidlogin record, UidloginExample example) {
        return uidloginMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(Uidlogin record) {
        return uidloginMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Uidlogin record) {
        return uidloginMapper.updateByPrimaryKey(record);
    }
}